package com.yc.jpyy.driver.service;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.util.PageBean;

public interface DriverService {

	int addDriverServer(Map<String, Object> paramsMap) throws DataAccessException;

	int updateDriverServer(Map<String, Object> paramsMap) throws DataAccessException;

	int delDriverServer(Map<String, Object> paramsMap) throws DataAccessException;

	int delforUpdateDriverServer(Map<String, Object> paramsMap) throws DataAccessException;

	int updateDriverStatusServer(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findDriverByIDServer(Map<String, Object> paramsMap) throws DataAccessException;

	Map<String, Object> findDriverByCertif(Map<String, Object> info) throws DataAccessException;

	// 分页查询
	PageBean findDriverServer(Map<String, Object> paramsMap) throws DataAccessException;

	// 分页查询
	PageBean findDriverNoPicture(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数
	int findDriverServerCount(Map<String, Object> paramsMap) throws DataAccessException;

	int findDriverByIdNumberServer(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findFWJDKHDServer(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findFWJDKHDforNumServer(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findFWJDKbyIdServer(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findDriverfromVehicle(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findVehiclefromDriver(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findDriverListService(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findComplainantCompanyCountNum(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findDriveAgeSum(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findDriveAgeList(Map<String, Object> paramsMap) throws DataAccessException;

	List<Map<String, Object>> findDriverNameAndIdNumberAllService(Map<String, Object> paramsMap)
			throws DataAccessException;

	// 微信分页查询2
	PageBean findDriverPunishmentforWeixinService(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数2
	int findDriverPunishmentforWeixinCountService(Map<String, Object> paramsMap) throws DataAccessException;

	// 微信分页查询3
	PageBean  findDriverComplaintInfoforWeixinService(Map<String, Object> paramsMap) throws DataAccessException;

	// 查询总数3
	int findDriverComplaintInfoforWeixinCountService(Map<String, Object> paramsMap) throws DataAccessException;
	
	List<Map<String, Object>> findDriverNameToPunishCountAndComplainCountService(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> selectDriverStatistic(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> findDriverDetailByIdWx(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> getNotOnlineDriver(Map<String, Object> paramsMap) throws DataAccessException;
}
